package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * 用户球员对应表
 */
@Entity
@Setter
@Getter
@ToString
public class FootUserPerson extends BaseEntity implements Serializable {
	@Column(name = "user_id")
	private Long userId;
	@Column(name = "qy_id")
	private Long qyId;
	@Transient
	private String qyName;
	@Transient
	private String yw;
	@Column(name = "num")
	private Integer num;
	@Column(name = "xycs")
	private Integer xycs = 0;
	@Column(name = "gpzt")
	private Integer gpzt = 0;
	@Column(name = "main")
	private Boolean main = false; //是否是主力球员 每个队伍里不得超过18个主力，false代表替补球员
	@Column(name = "power")
	private Double power;
	@Column(name = "up_times")
	private Integer upTimes = 1;

}